﻿
namespace Patterns4Net.ArchitectureExplorer.ViewModels.Services
{
    using System.ComponentModel.Composition;
    using System.Windows;

    [Export(typeof(IMessageBoxService))]
    public class WPFMessageBoxService : IMessageBoxService
    {
        public MessageBoxResult ShowMessageBox(string text, string title, MessageBoxButton button, MessageBoxImage icon)
        {
            return MessageBox.Show(text, title, button, icon);
        }
    }
}
